package com.hjx.dao;

import com.hjx.model.Asset;
import com.hjx.model.AssetCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AssetMapper {
    int countByExample(AssetCriteria example);

    int deleteByExample(AssetCriteria example);

    int deleteByPrimaryKey(Integer id);

    int insert(Asset record);

    int insertSelective(Asset record);

    List<Asset> selectByExample(AssetCriteria example);

    Asset selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Asset record, @Param("example") AssetCriteria example);

    int updateByExample(@Param("record") Asset record, @Param("example") AssetCriteria example);

    int updateByPrimaryKeySelective(Asset record);

    int updateByPrimaryKey(Asset record);
}